/* GSStocksOtherBean.java
 *
 * Project/Product: JZCG-XMBUS
 *
 * Modify Information:
 * =============================================================================
 *   Author	Date       Description
 *   ----------	---------- ---------------------------------------------------
 *   peng.ning	2008-8-29	First release
 *
 * Licensed Materials - Property of APEP
 * =============================================================================
 *    (C) COPYRIGHT Shanghai Auto Mart E-Procurement Co., Ltd. 2007 - 2008
 *    All Rights Reserved.
 *
 *    This software is the confidential and proprietary information of
 *    Shanghai Auto Mart E-Procurement Co., Ltd. ("Confidential Information").
 *    You shall not disclose such Confidential Information and shall use it only
 *    in accordance with the terms of the license agreement you entered into 
 *    with Shanghai Auto Mart E-Procurement Co., Ltd.
 *
 * Noties:
 * =============================================================================
 * 
 */

package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

public class GSStocksOtherBean implements GSBaseBean {
    private String gs_stocks_id;
    private String gs_detail_id;
    private String gs_workcorp_name;
    private String gs_workcorp_id;
    private String gs_stocks_person;
    private String gs_stocks_dept;
    private String gs_manu_conid;
    private String gs_manu_id;
    private String gs_manu_name;
    private String gs_manu_type;
    private String gs_manu_catid;
    private String gs_manu_catname;
    private String gs_prover_id;
    private String gs_prover_name;
    private double gs_detail_price;
    private double gs_detail_count;
    private String gs_stocks_date;
    private String gs_opertoar_date;
    private String gs_detail_state;
    private String gs_shipment_id;
    private String gs_shipment_name;
    private String gs_balance_mode;
    /**
     * @return the gs_balance_mode
     */
    public String getGs_balance_mode() {
        return this.gs_balance_mode;
    }

    /**
     * @param aGs_balance_mode the gs_balance_mode to set
     */
    public void setGs_balance_mode(String aGs_balance_mode) {
        this.gs_balance_mode = aGs_balance_mode;
    }

    /**
     * @return the gs_opertoar_date
     */
    public String getGs_opertoar_date() {
        return this.gs_opertoar_date;
    }

    /**
     * @param aGs_opertoar_date the gs_opertoar_date to set
     */
    public void setGs_opertoar_date(String aGs_opertoar_date) {
        this.gs_opertoar_date = aGs_opertoar_date;
    }

    /**
     * @return the gs_stocks_date
     */
    public String getGs_stocks_date() {
        return this.gs_stocks_date;
    }

    /**
     * @param aGs_stocks_date the gs_stocks_date to set
     */
    public void setGs_stocks_date(String aGs_stocks_date) {
        this.gs_stocks_date = aGs_stocks_date;
    }

    /**
     * @return the gs_stocks_id
     */
    public String getGs_stocks_id() {
        return this.gs_stocks_id;
    }

    /**
     * @param aGs_stocks_id the gs_stocks_id to set
     */
    public void setGs_stocks_id(String aGs_stocks_id) {
        this.gs_stocks_id = aGs_stocks_id;
    }

    /**
     * @return the gs_detail_id
     */
    public String getGs_detail_id() {
        return this.gs_detail_id;
    }

    /**
     * @param aGs_detail_id the gs_detail_id to set
     */
    public void setGs_detail_id(String aGs_detail_id) {
        this.gs_detail_id = aGs_detail_id;
    }

    /**
     * @return the gs_workcorp_name
     */
    public String getGs_workcorp_name() {
        return this.gs_workcorp_name;
    }

    /**
     * @param aGs_workcorp_name the gs_workcorp_name to set
     */
    public void setGs_workcorp_name(String aGs_workcorp_name) {
        this.gs_workcorp_name = aGs_workcorp_name;
    }

    /**
     * @return the gs_workcorp_id
     */
    public String getGs_workcorp_id() {
        return this.gs_workcorp_id;
    }

    /**
     * @param aGs_workcorp_id the gs_workcorp_id to set
     */
    public void setGs_workcorp_id(String aGs_workcorp_id) {
        this.gs_workcorp_id = aGs_workcorp_id;
    }

    /**
     * @return the gs_stocks_person
     */
    public String getGs_stocks_person() {
        return this.gs_stocks_person;
    }

    /**
     * @param aGs_stocks_person the gs_stocks_person to set
     */
    public void setGs_stocks_person(String aGs_stocks_person) {
        this.gs_stocks_person = aGs_stocks_person;
    }

    /**
     * @return the gs_stocks_dept
     */
    public String getGs_stocks_dept() {
        return this.gs_stocks_dept;
    }

    /**
     * @param aGs_stocks_dept the gs_stocks_dept to set
     */
    public void setGs_stocks_dept(String aGs_stocks_dept) {
        this.gs_stocks_dept = aGs_stocks_dept;
    }

    /**
     * @return the gs_manu_conid
     */
    public String getGs_manu_conid() {
        return this.gs_manu_conid;
    }

    /**
     * @param aGs_manu_conid the gs_manu_conid to set
     */
    public void setGs_manu_conid(String aGs_manu_conid) {
        this.gs_manu_conid = aGs_manu_conid;
    }

    /**
     * @return the gs_manu_id
     */
    public String getGs_manu_id() {
        return this.gs_manu_id;
    }

    /**
     * @param aGs_manu_id the gs_manu_id to set
     */
    public void setGs_manu_id(String aGs_manu_id) {
        this.gs_manu_id = aGs_manu_id;
    }

    /**
     * @return the gs_manu_name
     */
    public String getGs_manu_name() {
        return this.gs_manu_name;
    }

    /**
     * @param aGs_manu_name the gs_manu_name to set
     */
    public void setGs_manu_name(String aGs_manu_name) {
        this.gs_manu_name = aGs_manu_name;
    }

    /**
     * @return the gs_manu_type
     */
    public String getGs_manu_type() {
        return this.gs_manu_type;
    }

    /**
     * @param aGs_manu_type the gs_manu_type to set
     */
    public void setGs_manu_type(String aGs_manu_type) {
        this.gs_manu_type = aGs_manu_type;
    }

    /**
     * @return the gs_manu_catid
     */
    public String getGs_manu_catid() {
        return this.gs_manu_catid;
    }

    /**
     * @param aGs_manu_catid the gs_manu_catid to set
     */
    public void setGs_manu_catid(String aGs_manu_catid) {
        this.gs_manu_catid = aGs_manu_catid;
    }

    /**
     * @return the gs_manu_catname
     */
    public String getGs_manu_catname() {
        return this.gs_manu_catname;
    }

    /**
     * @param aGs_manu_catname the gs_manu_catname to set
     */
    public void setGs_manu_catname(String aGs_manu_catname) {
        this.gs_manu_catname = aGs_manu_catname;
    }

    /**
     * @return the gs_prover_id
     */
    public String getGs_prover_id() {
        return this.gs_prover_id;
    }

    /**
     * @param aGs_prover_id the gs_prover_id to set
     */
    public void setGs_prover_id(String aGs_prover_id) {
        this.gs_prover_id = aGs_prover_id;
    }

    /**
     * @return the gs_prover_name
     */
    public String getGs_prover_name() {
        return this.gs_prover_name;
    }

    /**
     * @param aGs_prover_name the gs_prover_name to set
     */
    public void setGs_prover_name(String aGs_prover_name) {
        this.gs_prover_name = aGs_prover_name;
    }

    

    /**
     * @return the gs_detail_price
     */
    public double getGs_detail_price() {
        return this.gs_detail_price;
    }

    /**
     * @param aGs_detail_price the gs_detail_price to set
     */
    public void setGs_detail_price(double aGs_detail_price) {
        this.gs_detail_price = aGs_detail_price;
    }

    /**
     * @return the gs_detail_count
     */
    public double getGs_detail_count() {
        return this.gs_detail_count;
    }

    /**
     * @param aGs_detail_count the gs_detail_count to set
     */
    public void setGs_detail_count(double aGs_detail_count) {
        this.gs_detail_count = aGs_detail_count;
    }

    /* (non-Javadoc)
     * @see com.hitrust.gs.service.GSBaseBean#process(java.sql.ResultSet)
     */
    public Object process(ResultSet aResultSet) throws SQLException {
        // TODO Auto-generated method stub
        GSStocksOtherBean sobean=new GSStocksOtherBean();
        sobean.gs_stocks_id=aResultSet.getString("p1")==null?"":aResultSet.getString("p1").trim();
        sobean.gs_detail_id=aResultSet.getString("p1_")==null?"":aResultSet.getString("p1_").trim();
        sobean.gs_workcorp_name=aResultSet.getString("p2")==null?"":aResultSet.getString("p2").trim();
        sobean.gs_workcorp_id=aResultSet.getString("p2_")==null?"":aResultSet.getString("p2_").trim();
        sobean.gs_stocks_person=aResultSet.getString("p3")==null?"":aResultSet.getString("p3").trim();
        sobean.gs_stocks_dept=aResultSet.getString("p4")==null?"":aResultSet.getString("p4").trim();
        sobean.gs_manu_conid=aResultSet.getString("p5")==null?"":aResultSet.getString("p5").trim();
        sobean.gs_manu_id=aResultSet.getString("p6")==null?"":aResultSet.getString("p6").trim();
        sobean.gs_manu_name=aResultSet.getString("p7")==null?"":aResultSet.getString("p7").trim();
        sobean.gs_manu_type=aResultSet.getString("p8")==null?"":aResultSet.getString("p8").trim();
        sobean.gs_manu_catid=aResultSet.getString("p9")==null?"":aResultSet.getString("p9").trim();
        sobean.gs_manu_catname=aResultSet.getString("p10")==null?"":aResultSet.getString("p10").trim();
        sobean.gs_prover_id=aResultSet.getString("p11")==null?"":aResultSet.getString("p11").trim();
        sobean.gs_prover_name=aResultSet.getString("p12")==null?"":aResultSet.getString("p12").trim();
        sobean.gs_detail_price=aResultSet.getDouble("p13")==0?0.00:aResultSet.getDouble("p13");
        sobean.gs_detail_count=aResultSet.getDouble("p14")==0?0.00:aResultSet.getDouble("p14");
        sobean.gs_stocks_date=aResultSet.getString("p15")==null?"":aResultSet.getString("p15").trim();
        sobean.gs_opertoar_date=aResultSet.getString("p16")==null?"":aResultSet.getString("p16").trim();
        sobean.gs_detail_state=aResultSet.getString("p17")==null?"":aResultSet.getString("p17").trim();
        sobean.gs_shipment_id=aResultSet.getString("p18")==null?"":aResultSet.getString("p18").trim();
        sobean.gs_shipment_name=aResultSet.getString("p18_")==null?"":aResultSet.getString("p18_").trim();
        sobean.gs_balance_mode=aResultSet.getString("p19")==null?"":aResultSet.getString("p19").trim();
        return sobean;
    }

    /**
     * @return the gs_detail_state
     */
    public String getGs_detail_state() {
        return this.gs_detail_state;
    }

    /**
     * @param aGs_detail_state the gs_detail_state to set
     */
    public void setGs_detail_state(String aGs_detail_state) {
        this.gs_detail_state = aGs_detail_state;
    }

    /**
     * @return the gs_shipment_id
     */
    public String getGs_shipment_id() {
        return this.gs_shipment_id;
    }

    /**
     * @param aGs_shipment_id the gs_shipment_id to set
     */
    public void setGs_shipment_id(String aGs_shipment_id) {
        this.gs_shipment_id = aGs_shipment_id;
    }

    /**
     * @return the gs_shipment_name
     */
    public String getGs_shipment_name() {
        return this.gs_shipment_name;
    }

    /**
     * @param aGs_shipment_name the gs_shipment_name to set
     */
    public void setGs_shipment_name(String aGs_shipment_name) {
        this.gs_shipment_name = aGs_shipment_name;
    }

}
